home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
comm
/
mail
/
AEMail230.lha
/
aemail230
/
arexx
/
Addtogrp.readme
< prev
next >
Wrap
Text File
|
1998-09-25
|
4KB
|
82 lines
Name: Addtogrp.aem
TO BE USED BY REGISTERED USER'S ONLY
This ARexx script is used to add To: and cc: names from a received
message to a group entry in the Address Book. This is particularly useful
when there are multiple to: and cc: addresses.
NOTE: This script has been modified for AEMail 1.52 from prior released
versions. It uses the new ARexx command "GETLISTITEM" which was added to
AEMail version 1.52 to display a list of groups.
HOW TO IMPLEMENT
----------------
This script is probably best placed in your REXX: directory. If you wish
to modify this script please note the following items:
"name1" is used as a variable instead of "name". If "name" were used
the AEMail ARexx command "NEXT NAME" would not execute properly
since NAME would be interpreted as the "name" variable.
Note the use of "'" surrounding the name1 variable. This will pass the
single quote to AEMail surrounding the name extracted from the To:
or "cc:" string. AEMail will strip the single quote preserving any
double quotes which might surround the name. If you were to use
'"' instead of "'", the proper action would not occur.
HOW TO USE
----------
Before you start the script you will need to display (or select) the
message that has the multiple To: or cc: addresses. If a message is not
selected you will get an error that says "No message is selected".
When the script is called you will be prompted for a group nickname. A
listview will be displayed that asks you to "Select the Group Wanted". All
the groups in your Address Book will be displayed. You can click on the
group you want to add the address to. It will appear in the string gadget
below the list view. Click on [OK] or press RETURN to accept this group.
If you want to create a new group, you can modify the nickname in the
string gadget and the description name. After ckicking on [OK] you will be
asked if you want to create it, enter a new name, or cancel. If you wish
to create it, the group will be created when the first email address is
processed. You will be immediately prompted, however, for the Group
Description (it will default to the description you entered in the list
view string gadget) and if you want to set the Send Header Only flag when
the group is created. If you want quotes surrounding the group
description, they should be entered with the group description string.
If the nickname is already used for an individual, you will be given an
opportunity to reentering the nickname or cancelling.
If you cancel the "Select the Group Wanted" requester or one of the error
notifications, you will exit from the script and will have to restart it.
You will always add the To: string to the Address Book. After all of the
To: addresses are added and if there is no cc: addresses the following
message will be displayed:
Last To: Name added - no cc: names
and the script will end after clicking on "CONTINUE"..
If there is a cc: address string you will see the following message
displayed?
Do you want to add cc: names?
You will be given a choice of YES or NO. Clicking on NO will terminate the
script.
Clicking on YES will add the cc: names to the Address Book. After the last
cc: address is added the following message will be displayed:
Last CC: Name added
and the script will end after clicking on "CONTINUE".